package com.lyt.springboot.designPattern.strategyPattern;

// 实现MQ转发策略
class MQForwardingStrategy implements ForwardingStrategy {
    @Override
    public void forward(String message) {
        // 这里模拟MQ转发逻辑
        System.out.println("Forwarding message via MQ: " + message);
    }
}